
//
//  PartyCell.m
//  PASystem
//
//  Created by 刘沿 on 16/9/22.
//  Copyright © 2016年 czd. All rights reserved.
//

#import "PartyCell.h"
#import "UILabel+time.h"
@implementation PartyCell

+(instancetype)WithPartyCell{

    return [[[NSBundle mainBundle] loadNibNamed:@"PartyCell" owner:nil options:nil] lastObject];
}

- (void)setModel:(PartyModel *)model{
    _model = model;
    self.JOB.text = model.JOB;

    NSString *str = [UILabel withTimeStr:model.PARTYTIME];
    NSString *str2 = [UILabel withTimeStr:model.COMINGDAY];
    
    self.COMINGDAY.text = str2;
    self.PARTYTIME.text = str;
    self.NOWNAME.text = model.NOWNAME;
}


@end
